import { createUnplugin } from 'unplugin'

const unplugin = createUnplugin((options: any) => {
  return {
    name: 'unplugin-build-logs',
    transformInclude(id) {
      return id.endsWith('.vue')
    },
    // just like rollup transform
    transform(code) {
      return code
    }
  }
})

export default unplugin
